﻿@model SignUpModel
@{
    ViewBag.Title = "注册";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<section class="sign">
    <div class="brand">
        <div class="img">
            <img src="/Content/themes/base/images/register.jpg" />
        </div>
        <div class="desc">
            <div class="title">立即注册</div>
            <div class="content">加入真爱，扩大你的圈子，丰富你的人脉，并有专业团队为您推荐合适人选。</div>
        </div>
    </div>
    <div class="form">
        <div class="form-wrap">
            <div class="title">帐户注册</div>
            @using (Html.BeginForm())
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true)
                <div class="field">
                    <div class="editor-label">
                        <label>
                            使用以下信息创建新帐户。
                        </label>
                        <label>
                            如果已经有帐户，请 @Html.ActionLink("登录", "Login").
                        </label>
                    </div>
                </div>
                <div class="field">
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Username) @Html.ValidationMessageFor(model => model.Username)
                    </div>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.Username, new { @placeholder = "使用常用电子邮箱地址" })

                    </div>
                </div>
                <div class="field">
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Password) @Html.ValidationMessageFor(model => model.Password)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(model => model.Password, new { @placeholder = "创建密码登录真爱一生" })

                    </div>
                </div>
                <div class="field">
                    <div class="editor-label">
                        @Html.LabelFor(model => model.RePassword) @Html.ValidationMessageFor(model => model.RePassword)
                    </div>
                    <div class="editor-field">
                        @Html.PasswordFor(model => model.RePassword, new { @placeholder = "再输入一次密码" })

                    </div>
                </div>
                <div class="field">
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Nickname) @Html.ValidationMessageFor(model => model.Nickname)
                    </div>
                    <div class="editor-field">
                        @Html.TextBoxFor(model => model.Nickname)

                    </div>
                </div>
                <div class="field gender">
                    <div class="editor-label">
                        @Html.LabelFor(model => model.Gender) @Html.ValidationMessageFor(model => model.Gender)
                    </div>
                    <div class="editor-field">
                        @Html.RadioButtonFor(model => model.Gender, Gender.Male, new { @id = "male" })
                        @Html.Label("male", "男生")
                        @Html.RadioButtonFor(model => model.Gender, Gender.Female, new { @id = "female" })
                        @Html.Label("female", "女生")

                    </div>
                </div>
                <div class="field">
                    <div class="editor-label">
                        <label>
                            <a href="javascript:;">使用条款</a>
                        </label>
                    </div>
                    <div class="editor-field">
                        <input type="submit" value="我同意" />
                    </div>
                </div>
            }
        </div>
    </div>
</section>

